package com.silence.springboot.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 确诊记录表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Accessors(chain = true)
@Schema(name = "确诊记录表")
@Table(value = "confirm_diagnosis_info")
@EqualsAndHashCode(callSuper = false)
public class ConfirmDiagnosisInfoEntity extends BaseEntity {

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    @Column(value = "name")
    private String name;

    /**
     * 性别（1：男 2：女）
     */
    @Schema(description = "性别（1：男 2：女）")
    @Column(value = "sex")
    private String sex;

    /**
     * 学号
     */
    @Schema(description = "学号")
    @Column(value = "student_number")
    private String studentNumber;

    /**
     * 年龄
     */
    @Schema(description = "年龄")
    @Column(value = "age")
    private String age;

    /**
     * 学院
     */
    @Schema(description = "学院")
    @Column(value = "college")
    private String college;

    /**
     * 专业
     */
    @Schema(description = "专业")
    @Column(value = "major")
    private String major;

    /**
     * 班级
     */
    @Schema(description = "班级")
    @Column(value = "grade")
    private String grade;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    @Column(value = "phone")
    private String phone;

    /**
     * 确诊时间
     */
    @Schema(description = "确诊时间")
    @Column(value = "confirm_diagnosis_date")
    private LocalDateTime confirmDiagnosisDate;

    /**
     * 病种
     */
    @Schema(description = "病种")
    @Column(value = "disease")
    private String disease;

    /**
     * 疾病等级
     */
    @Schema(description = "疾病等级")
    @Column(value = "disease_grade")
    private String diseaseGrade;

    /**
     * 确诊机构
     */
    @Schema(description = "确诊机构")
    @Column(value = "confirmed_institutions")
    private String confirmedInstitutions;

    /**
     * 体温
     */
    @Schema(description = "体温")
    @Column(value = "temperature")
    private String temperature;

    /**
     * 健康码（1：绿码、2：黄码、3、红码）
     */
    @Schema(description = "健康码（1：绿码、2：黄码、3、红码）")
    @Column(value = "health_code")
    private String healthCode;

    /**
     * 行程码（1：绿码、2：黄码、3、红码）
     */
    @Schema(description = "行程码（1：绿码、2：黄码、3、红码）")
    @Column(value = "itinerary_code")
    private String itineraryCode;

    /**
     * 风险预警（0：未警告、1：警告）
     */
    @Schema(description = "风险预警（0：未警告、1：警告）")
    @Column(value = "warning_code")
    private String warningCode;

}
